import { useState, useEffect } from 'react'
import './App.css'
import { addComment } from './api/request'
function App() {
  useEffect(() => {
    addComment()
      .then(data => {
        console.log(data)
      })
    // localStorage.setItem('token', 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEzMTQxNSwiaWF0IjoxNjYwMDQ1NTg3LCJleHAiOjE2NjAxMzE5ODd9.-iFk_pcVBa5Qgp7JIiX7-dVTU66WK9LsvQ-vIVxd-M0')
  }, [])

  return (
    <div className="App">
     <div>666</div>
    </div>
  )
}

export default App
